package com.wang.springframework.beans.factory;

import com.wang.springframework.beans.BeansException;

/**
 * @author wangjianhua
 * @Description 实现该接口 可以感知所属的BeanFactory
 * @date 2021/8/26/026 20:40
 */
public interface BeanFactoryAware extends Aware {

    /**
     * 设置BeanFactory
     * @param beanFactory beanFactory
     * @throws BeansException 异常
     */
    void setBeanFactory(BeanFactory beanFactory) throws BeansException;
}
